#ifndef ASSOCIATIONBUTTON_H
#define ASSOCIATIONBUTTON_H

#include <QLine>

#include "uml/relations/buttons/relationbutton.h"
#include "uml/relations/umlrelation.h"
#include "uml/relations/decorators/decorators.h"

class AssociationButton : public RelationButton
{
public:
    AssociationButton(QGraphicsObject *parent = 0);
    ~AssociationButton();

    DraggedRelation *draggedRelation();

    QVariant itemChange(GraphicsItemChange change, const QVariant &value);

protected:
    QGraphicsLineItem _lineGraphicsItem;
};

#endif // ASSOCIATIONBUTTON_H
